-- GENERATED SPELL FOR [Slitherblade Razortail] --


function spell0_4715(pUnit, Event) --@Localized Toxin,n/a--
pUnit:FullCastSpellOnTarget(7947,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4715', 0, 1)
end

function Sorts_4715(pUnit, Event)
local choix_sorts_4715 = math.random(0, 0)
if choix_sorts_4715 == 0 then
pUnit:RegisterEvent('spell0_4715', 1, 1)
end
end

function mob4715_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4715', math.random(1500, 3000), 1)
end

function mob4715_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4715_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4715_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4715, 1, 'mob4715_Action')
RegisterUnitEvent(4715, 2, 'mob4715_Leave')
RegisterUnitEvent(4715, 3, 'mob4715_Kill')
RegisterUnitEvent(4715, 4, 'mob4715_Die')
